package com.example.feifei.mvvm.model;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

/**
 * Created by Administrator on 2018\9\23 0023.
 */

public class UserInfoBean extends BaseObservable{
    private String login;
    private int contributions;

    public UserInfoBean(String login, int contributions) {
        this.login = login;
        this.contributions = contributions;
    }
    @Bindable
    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }
    @Bindable
    public int getContributions() {
        return contributions;
    }

    public void setContributions(int contributions) {
        this.contributions = contributions;
    }
}
